<?php 
$i1=$i2=$i3=$i4=$i5='';
	switch ($active)
	{
		case 'i2':
			$i2 = 'class="active"';
			break;
		case 'i3':
			$i3 = 'class="active"';
			break;
		case 'i4':
			$i4 = 'class="active"';
			break;
		case 'i5':
			$i5 = 'class="active"';
			break;
		case 'i6':
			$i6 = 'class="active"';
			break;
		default:
			$i1 = 'class="active"';
			break;
	}
?>
<div id="menu_div">
			<div id="navigation">
				<div id="menu">
					<ul id="nav">
					<li><a <?php echo $i1;?> href="<?php echo Yii::app()->createUrl('/site_frontend/');?>">Trang Chủ</a></li>
					<li><a <?php echo $i2;?> href="<?php echo Yii::app()->createUrl('/site_frontend/index/pagex/', array('page_alias'=>'lien-he'));?>">Giới thiệu</a></li>
					<li><a <?php echo $i3;?> href="#">Dự Án</a></li>
					<li><a <?php echo $i4;?> href="#">Quảng bá Website</a></li>
					<li><a <?php echo $i5;?> href="#">Tin Tức</a>
						<ul>
							<li><a href="#">Khoa học - Công nghệ</a></li>
							<li><a href="#">Văn hóa - Thể Thao</a></li>
							<li><a href="#">Teen - Sành điệu</a></li>
							<li><a href="#">Clip - Hài hước</a></li>
						</ul> 
					</li> <!-- Level 1 END -->
						
					<li><a <?php echo $i6;?> href="#">Liên hệ</a></li>
					</ul><!-- #nav END-->
					
					<!-- Search Form -->
					<form class="searchform" action=""> 
						<input style="float: left" class="searchfield" type="text" value="Search..." onfocus="if (this.value == 'Search...') {this.value = '';}" onblur="if (this.value == '') {this.value = 'Search...';}" />
						<input style="float: right" class="sbtn" type="submit" value="" />
					</form>
					<!-- / Search Form -->
					 
				</div><!-- #menu END-->
			</div><!-- #navigation END-->
		</div><!-- #menu_div END-->